import request from '../utils/request'

export function getCourseApi(params) {
    return request({
        url: '/ClassInfo',
        data: params,
        method: 'post',
    })
}

export function deleteCourseApi(params) {
    return request({
        url: '/DeleteClass',
        data: params,
        method: 'post'
    })

}

export function deleteAll(params) {
    return request({
        url: '/allDelete',
        data: params,
        method: 'post'
    })
}

export function editApi(params) {
    return request({
        url: '/editApi',
        data: params,
        method: 'post'
    })
}